<?php
include_once("lib/error_handler.php");
#$old_error_handler = set_error_handler("userErrorHandler");

include_once("lib/gz_start.php");

include_once "lib/core.class.php";
include_once "lib/framework.php";

global $core;

$frm =& new Framework();

$core->setFramework($frm);

$core = getCoreInstance();
$core->initialize();
session_start();
        $table= "ez_zstat"; 
        include ($core->config["file_root"]."/lib/ebz_stat/write_logs.php");  
$core->doAction();
header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
header( 'Cache-Control: no-store, no-cache, must-revalidate' );
header( 'Cache-Control: post-check=0, pre-check=0', false );
header( 'Pragma: no-cache' );

    
echo $core->render();
$core->shutdown();
unset($core);

include_once("lib/gz_end.php");
?>